/** 笔记相关
 * @description 主要用于记录笔记的点赞等操作修改, 返回到社区页面进行数据patch
 * @reference https://www.tapd.cn/42905076/bugtrace/bugs/view?bug_id=1142905076001013186
 */
import { EntryStore } from "@/utils/entryStore"

type NotePatchItem = {
  id: number
  isSelfLike: boolean
  likeCount: number
}
const NOTEPATCHKEY = "NOTEPATCHKEY"

export const notePatchStack = new EntryStore<NotePatchItem>(NOTEPATCHKEY)
